package com.lhd._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author lhd
 * @date 2024/4/24
 * @apiNote
 */
@Data
public class CommentVO {
    @ApiModelProperty(value = "评论ID",required = true)
    private Long id;
    @ApiModelProperty(value = "评论内容",required = true)
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "评论时间",required = true)
    private Date created;
    @ApiModelProperty(value = "评论用户昵称",required = true)
    private String nickname;

}
